'''
Author: your name
Date: 2020-10-28 14:00:32
LastEditTime: 2020-10-28 14:02:49
LastEditors: Please set LastEditors
Description: In User Settings Edit
FilePath: \python-study\博客学习\进阶\异常处理.py
'''
if __name__ == "__main__":
    re = iter(range(5))
    try:
        for i in range(100):
            print(re.next())
    except StopIteration:
        print('here is end')
    